use once_cell::sync::Lazy;
use std::collections::HashMap;

pub static COLOR_KEY_WORDS: Lazy<HashMap<&str, &str>> = Lazy::new(|| {
    let mut hash = HashMap::new();
    hash.insert("transparent", "rgba(0,0,0,0)");
    hash.insert("black", "#000000");
    hash.insert("sliver", "#C0C0C0");
    hash.insert("gray", "#808080");
    hash.insert("white", "#FFFFFF");
    hash.insert("maroon", "#800000");
    hash.insert("red", "#FF0000");
    hash.insert("purple", "#800080");
    hash.insert("fuchsia", "#FF00FF");
    hash.insert("green", "#008000");
    hash.insert("lime", "#00FF00");
    hash.insert("olive", "#808000");
    hash.insert("yellow", "#FFFF00");
    hash.insert("navy", "#000080");
    hash.insert("blue", "#0000FF");
    hash.insert("teal", "#008080");
    hash.insert("aqua", "#00FFFF");
    hash.insert("aliceblue", "#f0f8ff");
    hash.insert("antiquewhite", "#faebd7");
    hash.insert("aquamarine", "#7fffd4");
    hash.insert("azure", "#f0ffff");
    hash.insert("beige", "#f5f5dc");
    hash.insert("bisque", "#ffe4c4");
    hash.insert("blanchedalmond", "#ffebcd");
    hash.insert("blueviolet", "#8a2be2");
    hash.insert("brown", "#a52a2a");
    hash.insert("burlywood", "#deb887");
    hash.insert("cadetblue", "#5f9ea0");
    hash.insert("chartreuse", "#7fff00");
    hash.insert("chocolate", "#d2691e");
    hash.insert("coral", "#ff7f50");
    hash.insert("cornflowerblue", "#6495ed");
    hash.insert("cornsilk", "#fff8dc");
    hash.insert("crimson", "#dc143c");
    hash.insert("cyan", "#00ffff");
    hash.insert("darkblue", "#00008b");
    hash.insert("darkcyan", "#008b8b");
    hash.insert("darkgoldenrod", "#b8860b");
    hash.insert("darkgray", "#a9a9a9");
    hash.insert("darkgreen", "#006400");
    hash.insert("darkgrey", "#a9a9a9");
    hash.insert("darkkhaki", "#bdb76b");
    hash.insert("darkmagenta", "#8b008b");
    hash.insert("darkolivegreen", "#556b2f");
    hash.insert("darkorange", "#ff8c00");
    hash.insert("darkorchid", "#9932cc");
    hash.insert("darkred", "#8b0000");
    hash.insert("darksalmon", "#e9967a");
    hash.insert("darkseagreen", "#8fbc8f");
    hash.insert("darkslateblue", "#483d8b");
    hash.insert("darkslategray", "#2f4f4f");
    hash.insert("darkslategrey", "#2f4f4f");
    hash.insert("darkturquoise", "#00ced1");
    hash.insert("darkviolet", "#9400d3");
    hash.insert("deeppink", "#ff1493");
    hash.insert("deepskyblue", "#00bfff");
    hash.insert("dimgray", "#696969");
    hash.insert("dimgrey", "#696969");
    hash.insert("dodgerblue", "#1e90ff");
    hash.insert("firebrick", "#b22222");
    hash.insert("floralwhite", "#fffaf0");
    hash.insert("forestgreen", "#228b22");
    hash.insert("gainsboro", "#dcdcdc");
    hash.insert("ghostwhite", "#f8f8ff");
    hash.insert("gold", "#ffd700");
    hash.insert("goldenrod", "#daa520");
    hash.insert("greenyellow", "#adff2f");
    hash.insert("grey", "#808080");
    hash.insert("honeydew", "#f0fff0");
    hash.insert("hotpink", "#ff69b4");
    hash.insert("indianred", "#cd5c5c");
    hash.insert("indigo", "#4b0082");
    hash.insert("ivory", "#fffff0");
    hash.insert("khaki", "#f0e68c");
    hash.insert("lavender", "#e6e6fa");
    hash.insert("lavenderblush", "#fff0f5");
    hash.insert("lawngreen", "#7cfc00");
    hash.insert("lemonchiffon", "#fffacd");
    hash.insert("lightblue", "#add8e6");
    hash.insert("lightcoral", "#f08080");
    hash.insert("lightcyan", "#e0ffff");
    hash.insert("lightgoldenrodyellow", "#fafad2");
    hash.insert("lightgray", "#d3d3d3");
    hash.insert("lightgreen", "#90ee90");
    hash.insert("lightgrey", "#d3d3d3");
    hash.insert("lightpink", "#ffb6c1");
    hash.insert("lightsalmon", "#ffa07a");
    hash.insert("lightseagreen", "#20b2aa");
    hash.insert("lightskyblue", "#87cefa");
    hash.insert("lightslategray", "#778899");
    hash.insert("lightslategrey", "#778899");
    hash.insert("lightsteelblue", "#b0c4de");
    hash.insert("lightyellow", "#ffffe0");
    hash.insert("limegreen", "#32cd32");
    hash.insert("linen", "#faf0e6");
    hash.insert("magenta", "#ff00ff");
    hash.insert("mediumaquamarine", "#66cdaa");
    hash.insert("mediumblue", "#0000cd");
    hash.insert("mediumorchid", "#ba55d3");
    hash.insert("mediumpurple", "#9370db");
    hash.insert("mediumseagreen", "#3cb371");
    hash.insert("mediumslateblue", "#7b68ee");
    hash.insert("mediumspringgreen", "#00fa9a");
    hash.insert("mediumturquoise", "#48d1cc");
    hash.insert("mediumvioletred", "#c71585");
    hash.insert("midnightblue", "#191970");
    hash.insert("mintcream", "#f5fffa");
    hash.insert("mistyrose", "#ffe4e1");
    hash.insert("moccasin", "#ffe4b5");
    hash.insert("navajowhite", "#ffdead");
    hash.insert("oldlace", "#fdf5e6");
    hash.insert("olivedrab", "#6b8e23");
    hash.insert("orange", "#ffa500");
    hash.insert("orangered", "#ff4500");
    hash.insert("orchid", "#da70d6");
    hash.insert("palegoldenrod", "#eee8aa");
    hash.insert("palegreen", "#98fb98");
    hash.insert("paleturquoise", "#afeeee");
    hash.insert("palevioletred", "#db7093");
    hash.insert("papayawhip", "#ffefd5");
    hash.insert("peachpuff", "#ffdab9");
    hash.insert("peru", "#cd853f");
    hash.insert("pink", "#ffc0cb");
    hash.insert("plum", "#dda0dd");
    hash.insert("powderblue", "#b0e0e6");
    hash.insert("rosybrown", "#bc8f8f");
    hash.insert("royalblue", "#4169e1");
    hash.insert("saddlebrown", "#8b4513");
    hash.insert("salmon", "#fa8072");
    hash.insert("sandybrown", "#f4a460");
    hash.insert("seagreen", "#2e8b57");
    hash.insert("seashell", "#fff5ee");
    hash.insert("sienna", "#a0522d");
    hash.insert("skyblue", "#87ceeb");
    hash.insert("slateblue", "#6a5acd");
    hash.insert("slategray", "#708090");
    hash.insert("snow", "#fffafa");
    hash.insert("springgreen", "#00ff7f");
    hash.insert("steelblue", "#4682b4");
    hash.insert("tan", "#d2b48c");
    hash.insert("thistle", "#d8bfd8");
    hash.insert("tomato", "#ff6347");
    hash.insert("turquoise", "#40e0d0");
    hash.insert("violet", "#ee82ee");
    hash.insert("wheat", "#f5deb3");
    hash.insert("whitesmoke", "#f5f5f5");
    hash.insert("yellowgreen", "#9acd32");

    hash
});
